On-Site Computer Services, Knowledge Base
Auto Logon from Boot for Windows 10/11
Applies to Microsoft Win10/11 OS (as of "revised date following").
Revised 2026-01-30 1241

Note: This KB/SOP assumes a well founded understanding on use and foibles of the Microsoft Windows Registry Editor!!! Proceed with caution or obtain qualified assistance.


Return to:
Links and Tools page;
OCS KB & SOP page.
or review Automatic Logon for Windows 7+ page.


Acknowledgment(s):

Solution developed by On-Site Computer Services, Bellingham, WA, USA (www.On-SiteComputer.com) using past documentation and information provided at https://windowsreport.com/windows-11-auto-login/. While this task/SOP has been performed by many IT folks and is virtually in the public domain, this particular SOP is adapted from the aforementioned web page as well as past OCS documentation and activities. Iit also contains additional or corrected steps based on experience as the SOP was compiled and put to practice by OCS.

There is also a version of this SOP specifically for 'Windows 7+', which is retained and available in the OCS KBs / SOPs.

Standard Operating Procedure (SOP):

  1. Launch RegEdit (recommend doing so from a command line instead of from the Run command to avoid leaving such a powerful/dangerous command in a "recent" where a on-administrative user might run across it, possibly launching it and trashing the OS.
    1. Optionally (recommended) backup the registry to C:\Temp (create folder if not present).
  2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
  3. In the right pane, look for a field named "AutoAdminLogin". If not found, add it.
    1. From the window menu, pull down "Edit" and navigating through to the "New" submenu.
    2. Select "DWORD (32-bit) Value
    3. Set the value to 1.
  4. In the right pane, look for and create as above "DefaultUserName" setting the value to the desired username.
  5. Do the same for "DefaultPassword", setting its value to the desired user's password.
  6. Do the same for "DefaultDomain" per the appropriate NT Domain name.
    Note: Us the short form of the NT Domain name. Example: for "ThisOffice.MyDomain.com" ONLY specify "ThisOffice". This should reflect what would be enteered manually from the logon prompt for user such as "ThisOffice\ThisUsername".

To reverse the above, try setting the value of "AutoAdminLogin" to 0 (zero). If that does not work, that "key" may be left (as long as the value is 0) but delete the other added keys DefaultUserName and DefaultPassword.


Return to:
Links and Tools page;
OCS KB & SOP page.
or review Automatic Logon for Windows 7+ page.


Copyright © 2026 to present, On-Site Computer Services.